package cn.com.surker.base.strength.dao;

import cn.com.surker.base.strength.entity.BaseStrengthLevel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 强度等级基础表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-08-01
 */
public interface BaseStrengthLevelDao extends BaseMapper<BaseStrengthLevel> {

    /**
     * 根据条件查询详情
     * @param level
     * @param type
     * @param sort
     * @return
     */
    BaseStrengthLevel findStrengthDetail(String level, Integer type, Integer sort);

    /**
     * findExistDosage
     * @param orgId
     * @return
     */
    List<BaseStrengthLevel> findStrengthOrDosage(Long orgId);
}
